package ge.tsu.java.project.client;


public abstract class ClientConfig {

	public static ClientConfig getDefault() {
		return new DefaultConfig();
	}

	public abstract int getPort();

	public abstract String getAddress();

	static class DefaultConfig extends ClientConfig {

		@Override
		public int getPort() {
			return 1717;
		}

		@Override
		public String getAddress() {
			return "localhost";
		}

	}
}
